<?php
namespace app\mall\controller\api;

use app\BaseController;

class Kd extends BaseController
{
    public function index()
    {
        $post = $this->request->post();

        file_put_contents(runtime_path() . 'kd.log', json_encode($post, JSON_UNESCAPED_SLASHES) . "\n\n\n", FILE_APPEND);
        $data = [
            'EBusinessID' => '1273784',
            'UpdateTime' => date('Y-m-d H:i:s'),
            'Success' => true,
            'Reason' => '',
        ];
        return json($data);
    }

}
